#ifndef		TIMEVAL_HPP_
# define	TIMEVAL_HPP_

# include       <sys/time.h>

# define	Timeval		struct timeval
# define	USec		suseconds_t
# define	Sec		time_t

# define	TIME_SEC	0
# define	TIME_USEC	100		

class TimeVal
{
  Timeval Tim;

public:
  TimeVal();
  ~TimeVal();
  
  int InitTim();
  
  Timeval &GetTim(void);
  
  USec GetTvUsec(void);
  Sec GetTvSec(void);
};

#endif		/* TIMEVAL_HPP_ */
